<template>
  <div class="app-container">
    <el-tabs
      v-model="activeName"
    >
      <el-tab-pane
        label="基础信息"
        name="first"
      >
        <template-detail :is-edit="true" />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import TemplateDetail from './TemplateDetail.vue'

export default {
  components: { TemplateDetail },
  data() {
    return {
      activeName: 'first',
      id: 0
    }
  },
  created() {
    this.id = this.$route.query.id
  }
}
</script>
